package com.ruoyi.qingxun.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 训练项目对象 qx_drill
 * 
 * @author ruoyi
 * @date 2025-08-14
 */
public class QxDrill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long drillId;

    /** 分类id */
    @Excel(name = "分类id")
    private Long drillCategoryId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 指导要点 */
    @Excel(name = "指导要点")
    private String coachPoints;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 相关训练项目id */
    @Excel(name = "相关训练项目id")
    private String relatedIds;

    /** 是否热门（0普通 1热门） */
    @Excel(name = "是否热门", readConverterExp = "0=普通,1=热门")
    private String isHot;

    /** 热门排序，越大越靠前 */
    @Excel(name = "热门排序，越大越靠前")
    private Long hotSort;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setDrillId(Long drillId) 
    {
        this.drillId = drillId;
    }

    public Long getDrillId() 
    {
        return drillId;
    }

    public void setDrillCategoryId(Long drillCategoryId) 
    {
        this.drillCategoryId = drillCategoryId;
    }

    public Long getDrillCategoryId() 
    {
        return drillCategoryId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setCoachPoints(String coachPoints) 
    {
        this.coachPoints = coachPoints;
    }

    public String getCoachPoints() 
    {
        return coachPoints;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setRelatedIds(String relatedIds) 
    {
        this.relatedIds = relatedIds;
    }

    public String getRelatedIds() 
    {
        return relatedIds;
    }

    public void setIsHot(String isHot) 
    {
        this.isHot = isHot;
    }

    public String getIsHot() 
    {
        return isHot;
    }

    public void setHotSort(Long hotSort) 
    {
        this.hotSort = hotSort;
    }

    public Long getHotSort() 
    {
        return hotSort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drillId", getDrillId())
            .append("drillCategoryId", getDrillCategoryId())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("coachPoints", getCoachPoints())
            .append("image", getImage())
            .append("relatedIds", getRelatedIds())
            .append("isHot", getIsHot())
            .append("hotSort", getHotSort())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
